package org.goldfish.cookied_chatroom02.model;
/**
 * 聊天室请求&会话参数
 */
public interface ChatRoomParams {
    /**
     * {@code session}<br/>
     * the owner of the chat room<br/>
     * i.e. the logged-in user who sent the request
     */
    String ROOM_OWNER = "room_owner";
    /**
     * {@code GET}-{@code request}<br/>
     * ask {@code /chat} for preview of the messages<br/>
     * 
     */
    String PREVIEWS = "previews";
    /**
     * {@code GET}-{@code response}only <br/>
     * give jsp list of receiver candidates
     */
    String RECEIVERS_TO_DISPLAY = "receivers_to_display";
    /**
     * {@code GET}-{@code response}only<br/>
     * give jsp lines of message detail
     */
    String DETAILS_TO_DISPLAY = "details_to_display";
    String PREVIEW_REQUEST = "message_id_for_detail";
    String SENDER_REQUESTING = "sender_requesting";
}
